package org.example.mq;

import com.aliyun.openservices.ons.api.PropertyKeyConst;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * @author juzi
 */
@Component
//@ConfigurationProperties(prefix = "mq")
@Data
public class MqConfig {

    private String accessKey = "42ae72c3d6fd3aass64d31149b677238";
    private String secretKey = "22881f250daa21mk8075fb2";
    private String address = "lt-mq-server.juzishuke.com:9876";
    private String sendMsgTimeoutMillis = "100";
    private String consumeThreadNums = "20";
    /**
     * 集群模式GID
     */
    private String gid =  "GID_LEE_GROUP";
    /**
     * 广播模式GID
     */
    private String gidBroadcast;

}
